/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sessionbean;

import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author ShahanThai
 */
@Remote
public interface SongsSessionBeanRemote {

    List getSong(int songID);

    List getUploader(int songID);

    List getSongSameArtist(int id);

    List getSongSameGenre(int id);

    List getRelativeSong(int id);

    String getSongName(int id);

    List getSong(String searchValue, String findBy, String category);

    List getSong(String songName);

    List loadSong();

    boolean deleteSong(int id);

    boolean addSong(String name, int artistID, int albumID, int genreID, int producerID, String lyric, int countryID, int musicianID, int year, int listened, int download, int no, boolean isSong, String l1, String l2, String l3, String l4, String d1, String d2, String d3, String d4, String thumbnail);

    boolean saveSong(int id, String name, int artistID, int albumID, int genreID, int producerID, String lyric, int countryID, int musicianID, int year, int listened, int download, int no, boolean isSong, String l1, String l2, String l3, String l4, String d1, String d2, String d3, String d4, String thumbnail);
}
